﻿using System.ServiceModel;
using System.ServiceModel.Web;
using Acaweb.Model.Entities;
using Acaweb.Servicios.Utility;

namespace Acaweb.Servicios.Contracts
{
    [ServiceContract]
    public interface IDocentesService
    {
        [WebInvoke(Method = "POST", UriTemplate = "GetById", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
        [OperationContract]
        Docentes GetById(string NIT);

        [AmbitoRealizacion(new Ambitos[] { Ambitos.Docente })]
        [WebInvoke(Method = "POST", UriTemplate = "Update", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json)]
        [OperationContract]
        void Update(Docentes Docente);

    }
}